﻿using BlueMarble.Genesis.Infrastructure.Behaviors;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Specialized;
using System.Windows;

namespace BlueMarble.Genesis.Infrastructure.Test.Behaviors
{
    
    
    /// <summary>
    ///This is a test class for DialogActivationBehaviorTest and is intended
    ///to contain all DialogActivationBehaviorTest Unit Tests
    ///</summary>
    [TestClass()]
    public class DialogActivationBehaviorTest
    {


        private TestContext testContextInstance;

        /// <summary>
        ///Gets or sets the test context which provides
        ///information about and functionality for the current test run.
        ///</summary>
        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        #region Additional test attributes
        // 
        //You can use the following additional attributes as you write your tests:
        //
        //Use ClassInitialize to run code before running the first test in the class
        //[ClassInitialize()]
        //public static void MyClassInitialize(TestContext testContext)
        //{
        //}
        //
        //Use ClassCleanup to run code after all tests in a class have run
        //[ClassCleanup()]
        //public static void MyClassCleanup()
        //{
        //}
        //
        //Use TestInitialize to run code before running each test
        //[TestInitialize()]
        //public void MyTestInitialize()
        //{
        //}
        //
        //Use TestCleanup to run code after each test has run
        //[TestCleanup()]
        //public void MyTestCleanup()
        //{
        //}
        //
        #endregion


        internal virtual DialogActivationBehavior_Accessor CreateDialogActivationBehavior_Accessor()
        {
            // TODO: Instantiate an appropriate concrete class.
            DialogActivationBehavior_Accessor target = null;
            return target;
        }

        /// <summary>
        ///A test for ActiveViews_CollectionChanged
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void ActiveViews_CollectionChangedTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            DialogActivationBehavior_Accessor target = new DialogActivationBehavior_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            NotifyCollectionChangedEventArgs e = null; // TODO: Initialize to an appropriate value
            target.ActiveViews_CollectionChanged(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for CloseContentDialog
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void CloseContentDialogTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            DialogActivationBehavior_Accessor target = new DialogActivationBehavior_Accessor(param0); // TODO: Initialize to an appropriate value
            target.CloseContentDialog();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for ContentDialogClosed
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void ContentDialogClosedTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            DialogActivationBehavior_Accessor target = new DialogActivationBehavior_Accessor(param0); // TODO: Initialize to an appropriate value
            object sender = null; // TODO: Initialize to an appropriate value
            EventArgs e = null; // TODO: Initialize to an appropriate value
            target.ContentDialogClosed(sender, e);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        private void CreateDialogActivationBehavior()
        {
            // Private Accessor for CreateWindow is not found. Please rebuild the containing project or run the Publicize.exe manually.
            Assert.Inconclusive("Private Accessor for CreateWindow is not found. Please rebuild the containing pro" +
                    "ject or run the Publicize.exe manually.");
        }

        /// <summary>
        ///A test for CreateWindow
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void CreateWindowTest()
        {
            // Private Accessor for CreateWindow is not found. Please rebuild the containing project or run the Publicize.exe manually.
            Assert.Inconclusive("Private Accessor for CreateWindow is not found. Please rebuild the containing pro" +
                    "ject or run the Publicize.exe manually.");
        }

        /// <summary>
        ///A test for GetStyleForView
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void GetStyleForViewTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            DialogActivationBehavior_Accessor target = new DialogActivationBehavior_Accessor(param0); // TODO: Initialize to an appropriate value
            Style expected = null; // TODO: Initialize to an appropriate value
            Style actual;
            actual = target.GetStyleForView();
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }

        /// <summary>
        ///A test for OnAttach
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void OnAttachTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            DialogActivationBehavior_Accessor target = new DialogActivationBehavior_Accessor(param0); // TODO: Initialize to an appropriate value
            target.OnAttach();
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for PrepareContentDialog
        ///</summary>
        [TestMethod()]
        [DeploymentItem("BlueMarble.Genesis.Infrastructure.dll")]
        public void PrepareContentDialogTest()
        {
            PrivateObject param0 = null; // TODO: Initialize to an appropriate value
            DialogActivationBehavior_Accessor target = new DialogActivationBehavior_Accessor(param0); // TODO: Initialize to an appropriate value
            object view = null; // TODO: Initialize to an appropriate value
            target.PrepareContentDialog(view);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }

        /// <summary>
        ///A test for HostControl
        ///</summary>
        [TestMethod()]
        public void HostControlTest()
        {
            DialogActivationBehavior target = null;// CreateDialogActivationBehavior(); // TODO: Initialize to an appropriate value
            DependencyObject expected = null; // TODO: Initialize to an appropriate value
            DependencyObject actual;
            target.HostControl = expected;
            actual = target.HostControl;
            Assert.AreEqual(expected, actual);
            Assert.Inconclusive("Verify the correctness of this test method.");
        }
    }
}
